how to generate entities from an existing database in entityframework core

93

how to generate entities from an existing database in entityframework core -

PM> Scaffold-DbContext "Server=.\SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

Comments

Submit
0 Comments